package org.pearl.tactuator.endpoint;

import org.springframework.boot.actuate.endpoint.web.annotation.ControllerEndpoint;
import org.springframework.boot.actuate.endpoint.web.annotation.ServletEndpoint;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * Created by TD on 2021/6/30
 */
@RestController("/test")
@ControllerEndpoint(id = "testController")
public class TestController {

    @GetMapping("/test000")
    public Object test() {
        return "test";
    }
}
